<?php /* Smarty version 2.6.26, created on 2014-05-28 17:30:39
         compiled from admin/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'geturl', 'admin/index.tpl', 7, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin/leftcol.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="left-area">
<div class="entry post clearfix width-for-all-img">
              <div class="breadcrumb">
            <span class="raquo"></span><a href="/">Главная</a>
           <span class="raquo"> &raquo; </span><a href="<?php echo smarty_function_geturl(array('controller' => 'admin','action' => 'index'), $this);?>
">Админ панель</a>  
 
    </div>
    <h1 class="category-title">Главная администратора</h1> 
    <?php if ($this->_tpl_vars['stats']): ?>
        <p><label>Количество зарегистрированых пользователей:</label> <b><?php echo $this->_tpl_vars['stats']['users']; ?>
</b></p>
        <p><label>Количество добавленых товаров:</label <b><?php echo $this->_tpl_vars['stats']['products']; ?>
</b></p>
        <p><label>Количество покупок:</label> <b><?php echo $this->_tpl_vars['stats']['basket']; ?>
</b></p>
        <p><label>Количество купленных товаров:</label> <b><?php echo $this->_tpl_vars['stats']['cartproduct']; ?>
</b></p>
        <p><label>Сумма всех удачных сделок:</label> <b><?php echo $this->_tpl_vars['stats']['cartprice']; ?>
</b></p>
        
    <?php endif; ?>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>